<template>
    <view class="easy-label-value">
        <text class="label">{{ label }}</text>
        <text class="value">{{ value }}</text>
        <uni-icons v-if="showRight" type="arrowright"></uni-icons>
    </view>
</template>

<script>
export default {
    props: {
        label: {
            type: String,
            default: "",
        },
        value: {
            type: String,
            default: "",
        },
        showRight: {
            type: Boolean,
            default: false,
        },
    },
    data() {
        return {}
    },
    methods: {},
}
</script>

<style lang="scss">
.easy-label-value {
    display: flex;
    flex-direction: row;
    height: 66rpx;
    align-items: center;
    .label {
        min-width: 180rpx;
        font-size: $font-size-28;
        color: $color-gray-3;
    }
    .value {
        flex: 1;
        font-size: $font-size-28;
        color: $color-gray-1;
    }
}
</style>
